//
//  ILLinkUtil.h
//  IMILabKit
//
//  Created by OrrHsiao on 2022/6/27.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ILLinkUtil : NSObject

/// NSdata与16进制字符串互转
/// @param data <#data description#>
+ (NSString *)dataToHexString:(NSData *)data;

/// 16进制字符串与NSdata互转
/// @param str <#str description#>
+ (NSData *)hexStringToData:(NSString *)str;

/// 根据原始数据获取真正要发送的socket数据
/// @param network <#network description#>
+ (NSData *)getWriteDataFromPA:(NSString *)network;

@end

NS_ASSUME_NONNULL_END
